<script>
import { useStorageStore } from "@/store/storage";

export default {
    onLaunch: function () {
        console.log("App Launch");
    },
    onShow: function () {
        console.log("App Show");
        // 获取所有缓存
        const storageStore = useStorageStore();
        storageStore.getStorageAll();
    },
    onHide: function () {
        console.log("App Hide");
    },
};
</script>

<style lang="scss">
/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
@import "uview-plus/index.scss";
@import "@/styles/common.scss";
</style>